package bean;

/**
 * @author itzel
 * @version 1.0
 * @created 22-abr-2014 19:59:12
 */
public class Calificacion {

	private int id;
	private double promedio;
	private String bimestre;
	private Materia materia;

	public Calificacion() {

	}

	public Calificacion(int id) {
		this.id = id;
	}

	
	public Calificacion(int id, double promedio, String bimestre,
			Materia materia) {
		super();
		this.id = id;
		this.promedio = promedio;
		this.bimestre = bimestre;
		this.materia = materia;
	}

	public void setMateria(Materia materia) {
		this.materia = materia;
	}

	public Materia getMateria() {
		return materia;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public double getPromedio() {
		return promedio;
	}

	public void setPromedio(double promedio) {
		this.promedio = promedio;
	}

	public String getBimestre() {
		return bimestre;
	}

	public void setBimestre(String bimestre) {
		this.bimestre = bimestre;
	}

}